package com.jiyun.jiyunmall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiyun.jiyunmall.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * spu信息
 *
 * @author boge 71164376@qq.com
 * @since 1.0.0 2022-07-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("pms_spu_info")
public class SpuInfoEntity {
	private static final long serialVersionUID = 1L;


    /**
     * 商品id
     */
	@TableId
	private Long id;

    /**
     * 商品名称
     */
	private String spuName;

    /**
     * 商品描述
     */
	private String spuDescription;

    /**
     * 所属分类id
     */
	private Long catalogId;

    /**
     * 品牌id
     */
	private Long brandId;

    /**
     * 
     */
	private BigDecimal weight;

    /**
     * 上架状态[0 - 下架，1 - 上架]
     */
	private Integer publishStatus;

    /**
     * 
     */
	private Date createTime;

    /**
     * 
     */
	private Date updateTime;
}